<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript" src="/statics/jquery.js">
</script>

<script type="text/javascript">
function loadface(face){
	if(face==1){
	$("#face").load("http://slitaz.com/message/face1");
	}else{
		$("#face").load("http://slitaz.com/message/face2");
		}
}

</script>
<table width=800 border="0" align="center" cellpadding="5"
	cellspacing="1" bgcolor="#add3ef">
	<tr bgcolor="#eff3ff">
		<td>标题：<font color="red"><?=$title?></font>
		<p>用户：<font color="red"><?=$username?></font>
		
		</td>
	</tr>
	<tr bgColor="#ffffff">
	<?php
	$tmpmessage1=array("/(\[#qqface:){1}/","/\]{1}/","/(\[#bbsface:){1}/");
	$tmpmessage2=array("<img src=\"/statics/face1/F_",".gif\"/>","<img src=\"/statics/face2/");
	$tmpmessage=preg_replace($tmpmessage1, $tmpmessage2,$message );
	?>
		<td>内容：<?=$tmpmessage?></td>
		<td><?=$messageid?>楼</td>
	</tr>
	<tr bgColor="#ffffff">
		<td>
		<div align="right">发表日期：<?=$time?></div>
		</td>
	</tr>
</table>
<FORM NAME="RE_FORM" METHOD="POST"
	ACTION="msg_re?id=<?=$messageid?>&count=<?=$_GET['count']?>">
<p>标题：<INPUT TYPE="text" NAME="title" readOnly value="<?=$title ?>" /></p>
<p>用户：<INPUT TYPE="text" NAME="user" readOnly
	value="<?=$_GET['user'] ?>" /></p>
<p>内容：<TEXTAREA NAME="msg" id="msgid" ROWS="10" COLS="50"
	wrap="physical"></TEXTAREA></p>
<div id="face"></div>
<p><input type="button" value="QQ表情" onClick="loadface(1)" /> <input
	type="button" value="BBS表情" onClick="loadface(2)" /></p>
<INPUT TYPE="submit" name="submit" value="回复" /></FORM>

